package com.jisf.driver.service;

import com.jisf.driver.entity.po.StudentApply;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jisf.driver.entity.vo.StudentApplyVo;
import com.jisf.driver.response.ResultCode;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jisf
 * @since 2022-05-23
 */
public interface IStudentApplyService extends IService<StudentApply> {

    /**
     * 申请套餐
     * @param id
     * @return
     */
    ResultCode apply(Integer id);

    /**
     * 查看申请列表
     * @return
     */
    List<StudentApplyVo> applyList();

    /**
     * 通过申请
     * @param studentApply
     * @return
     */
    ResultCode passApply(StudentApply studentApply);

    /**
     * 拒绝申请
     * @param studentApply
     * @return
     */
    ResultCode noPassApply(StudentApply studentApply);


}
